package string;

public class ReplaceAllDemo {
    public static void main(String[] args) {
        String ling = "赵总是弱智";
        ling = ling.replaceAll("[弱智]+","***");
        System.out.println(ling);
    }
}
